<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="Admin/webroot/css/style.css"/>
<title>角色</title>
</head>
<script type="text/javascript" src="Admin/webroot/js/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="Admin/webroot/js/global.js"></script>
<body>
<!--[if lte IE 6]>
<script src="js/DD_belatedPNG_0.0.8a.js" language="javascript" type="text/javascript"></script>
<script type="text/javascript">
	DD_belatedPNG.fix('.pngfix');
</script>
<![endif]--> 
<div class="rightbox">
    <div class="rightbox-col" id="right">
      <div class="main">
      {include file='../Common/main_title.html'}
        <div class="bd">
          <div class="height_20"></div>
          <div class="main_content">
            <form method="post" action="index.php?g=admin&m=user&a={$action}">
               <div class="left-table"><span>{$_L.ROLE_NAME}:</span></div> 
               <div class="right-table"> <input type="text" name="rolename" value="{$user_info['role_name']}" /></div>
              <div class="height_10"></div>
               <div class="left-table"><span>{$_L.ROLE_DES}:</span></div>
               <div class="right-table"> <textarea class="keywords" name="roledes" >{$user_info['role_des']}</textarea></div>
              <div class="height_10"></div>
                <div class="left-table"><span>{$_L.ROLE_ACTION}:</span></div>
               <div class="right-table">
               {foreach from=$action_list item=action}
               {$action.name} <input {if $action.selected eq 1} checked="checked"{/if} type="checkbox" value="{$action.id}"  name="action[]" >
               {/foreach}
                </div>
              <div class="height_10"></div>
              <p><span></span>
              <input class="submit_btn" type="submit" value="" /><input type="hidden" name="id" value="{$id}" /><input type="hidden" name="old_name" value="{$user_info['role_name']}" /></p>
            </form>
          </div>
        </div>
      </div>
    </div>
    <div class="clear"></div>
  </div>
</body>
</html>
